/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.yuhanginfo.modules.sys.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yuhanginfo.common.persistence.CrudDao;
import com.yuhanginfo.common.persistence.annotation.MyBatisDao;
import com.yuhanginfo.modules.sys.entity.PartsChange;

/**
 * 配件互换DAO接口
 * 
 * @author yinhao
 * @version 2017-11-29
 */
@MyBatisDao
public interface PartsChangeDao extends CrudDao<PartsChange> {
	
	void batchInsert(@Param(value="list")List<PartsChange> list);
	
	List<PartsChange> findByGroupId(PartsChange partsChange);
	
	void deleteByGroupId(@Param(value="groupId")String groupId);
}